﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AlexandriaPressAdminDataAccessLayer;
using AlexandriaPressAdminObject;


namespace AlexandriaPressAdminBusinessLayer
{
    public class ProofReaderBL
    {
        public static List<ProofReaderInfo> viewProofReaderList()
        {
            return ProofReaderDL.displayAll();
        }

        public static int RemoveProofreader(List<ProofReaderInfo> _proofreaders)
        {
            return ProofReaderDL.removeProofreader(_proofreaders);
        }

        public static bool CreateLogin(ProofReaderInfo _info)
        {
            return ProofReaderDL.createLogin(_info);
        }

        public static int CheckEmail(string email)
        {
            return ProofReaderDL.checkEmail(email);
        }

        public static int UpdateProof(string login)
        {
            return ProofReaderDL.updateProof(login);
        }
    }
}
